/**
  ******************************************************************************
  * @file           : gui.h
  * @brief          : Header for main.c file.
  *                   This file contains the common defines of the application.
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __GUI_H
#define __GUI_H

#include "gui_form.h"

#define GUI_CMD_QUE_LENGTH         8
#define GUI_CMD_QUE_ITEMSIZE       sizeof(Gui_CmdQueStru)

typedef enum _Gui_CmdEnum
{
  GUI_CMD_KEY,
  GUI_CMD_CHANGE_FORM,
}Gui_CmdEnum;

typedef struct _Gui_CmdQueStru
{
  uint8_t            msg;
  Gui_CmdEnum        cmd;
  IrKey_KeyValueEnum key;
  const GUI_FormStru *toform;
}Gui_CmdQueStru;

extern const Gui_CmdQueStru gui_cmd_go_calzeroend;
extern const Gui_CmdQueStru gui_cmd_go_calgmend;
extern const Gui_CmdQueStru gui_cmd_go_calswend;

#endif
